package com.sinothk.gpserver.modules.system.mapper;

import com.sinothk.gpserver.modules.system.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户相关 Mapper 接口
 * </p>
 *
 * @author Liang Y.t.
 * @since 2021-08-27
 */
public interface UserMapper extends BaseMapper<UserEntity> {

    @Select("SELECT * FROM sys_user WHERE account = '${account}'")
    UserEntity selectByAccount(String account);
}
